#pragma once

#include "picture.h"
#include "texcoords.h"

class texture
{
public:

	texture();
	texture(const char* name);
	~texture();

	picture *textureImage;

	bool created();
	color getColor(texcoords texCoords);
	
	unsigned int getX();
	unsigned int getY();
	double getRatio();

protected:
	unsigned int X;
	unsigned int Y;
	bool isValid;



};